import ThdemandUpload from './ThdemandUpload'
import { StoreState } from '../../redux/Types'
import { connect } from 'react-redux'


export function mapStateToProps({thdemand: { record }, user, global: { band }, setting: { coopers } }: StoreState) {
  return {
    record,
    user,
    band,
    coopers
  }
}
export default connect(mapStateToProps)(ThdemandUpload)